LocEncoder ++++++++++